package com.purchase.ml.entity.dealer;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_resion")
@ApiModel(value = "SysResion", description = "经销商注册原因表")
public class SysResion implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "")
    private Integer id;

    /**
     * 注册原因
     */
    @TableField(value = "register_resion")
    @ApiModelProperty(value = "注册原因")
    private String registerResion;

    /**
     * 经销商ID
     */
    @TableField(value = "dealer_id")
    @ApiModelProperty(value = "经销商ID")
    private Long dealerId;

    private static final long serialVersionUID = 1L;
}